build a clock using javascript and html